package com.gsc.constants;

/**
 *
 * @author gscstart
 * @create 2023/1/16-9:48
 */
public class SystemConstants
{
    /**
     *  文章是草稿
     */
    public static final int ARTICLE_STATUS_DRAFT = 1;
    /**
     *  文章是正常发布状态
     */
    public static final int ARTICLE_STATUS_NORMAL = 0;

    /**
     * 正常状态的分类
     */
    public static final String STATUS_NORMAL = "0";
    /**
     * 友联正常状态的分类
     */
    public static final String LINK_STATUS_NORMAL = "0";

    /**
     *  评论类型：文章评论
     */
    public static final String ARTICLE_COMMENT = "0";
    /**
     *  评论类型：友联评论
     */
    public static final String LINK_COMMENT = "1";

    /**
     * 浏览量存储到redis中的key
     */
    public static final String REDIS_VIEW_COUNT = "article:viewCount";

    /**
     * 菜单类型：C 菜单
     */
    public static final String MENU_TYPE = "C";

    /**
     * 菜单类型：F 按钮
     */
    public static final String BUTTON_TYPE = "F";

    /**
     * 菜单状态：0显示
     */
    public static final Character STATUS_MENU = '0';
    /**
     * 后台登录用户的key
     */
    public static final String ADMIN_KEY = "adminlogin:";

    /**
     * 管理员
     */
    public static final String ADMIN = "1";

    /**
     * token头
     */
    public static final String TOKEN = "token";

    /**
     * 博客前台key
     */
    public static final String BOLG_KEY = "bloglogin:";

}
